package com.mall.interface1.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.domain.UmsAdmin;

public interface UmsAdminApi  {
    UmsAdmin findByUms(String username, String password);

    UmsAdmin query(Long userId);

    void deleteUser(Integer id);

    IPage<UmsAdmin> listAll(Integer pageNum, Integer pageSize, String keyword);

    void save(UmsAdmin umsAdmin);


    void update(UmsAdmin umsAdmin);

    UmsAdmin queryUser(String oldPassword, String username);
}
